package com.jiaorui.text;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JOptionPane;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class PaintButton extends JButton implements ActionListener {

	private MapCanvas tempCanvas;
	private String label;
	private String direction;
	private stateHandler pausedstate;
	private Main FrameMain;

	public PaintButton(String label, MapCanvas temppanel, String direction, stateHandler state, Main Frame) {
		tempCanvas = temppanel;
		this.label = label;
		FrameMain = Frame;
		pausedstate = state;
		setText(this.label);
		this.direction = direction;
		addActionListener(this);
	}

	public void actionPerformed(ActionEvent e) {
		
	}

}
